package com.example.quarpz;


import org.springframework.cache.annotation.Cacheable;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class SpringQuarzt {
    @Scheduled(cron = "0/1 * * * * ?")
    public void  print(){
        System.out.println(Thread.currentThread().getName() +": springQuarzt running...");
    }
}
